package com.example.hospitalManage.controller.user.param;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @ProjectName: yygh
 * @Author: gxy
 * @Time: 2022/12/21 15:56
 * @Description:用户注册param
 */
@Data
public class UserRegisterParam implements Serializable {

    @ApiModelProperty("注册手机号")
    @NotEmpty(message = "手机号不能为空")
    private String phone;

    @ApiModelProperty("注册昵称")
    @NotEmpty(message = "注册昵称不能为空")
    private String nickName;

    @ApiModelProperty("用户真实姓名")
    @NotEmpty(message = "真实姓名不能为空")
    private String realName;

    @ApiModelProperty("用户密码(需要MD5加密)")
    @NotEmpty(message = "密码不能为空")
    private String passwordMd5;
}
